<?php

use app\api\controller\ActivityController;
use app\api\controller\AdController;
use app\api\controller\AddressController;
use app\api\controller\AdviceController;
use app\api\controller\AuthController;
use app\api\controller\BannerController;
use app\api\controller\ChatController;
use app\api\controller\CommonController;
use app\api\controller\CouponController;
use app\api\controller\CustomerServiceController;
use app\api\controller\ExchangeApplyController;
use app\api\controller\ExchangeController;
use app\api\controller\ExpressController;
use app\api\controller\GoodsCategoryController;
use app\api\controller\GoodsController;
use app\api\controller\HotSearchController;
use app\api\controller\IdentifyController;
use app\api\controller\MusicController;
use app\api\controller\NoticeController;
use app\api\controller\NotifyController;
use app\api\controller\OrderController;
use app\api\controller\OrderMessageController;
use app\api\controller\PageContentController;
use app\api\controller\PaymentController;
use app\api\controller\PrizeDrawController;
use app\api\controller\ReservationController;
use app\api\controller\RewardController;
use app\api\controller\SearchController;
use app\api\controller\ShoppingCartController;
use app\api\controller\StoreController;
use app\api\controller\SubjectController;
use app\api\controller\TaskController;
use app\api\controller\TextController;
use app\api\controller\User\HistoryController;
use app\api\controller\User\ShareHoldingController;
use app\api\controller\User\SignController;
use app\api\controller\User\TeamController;
use app\api\controller\UserBankCardController;
use app\api\controller\UserCompanyController;
use app\api\controller\UserController;
use app\api\controller\VideoController;
use app\api\controller\WithdrawController;
use app\api\controller\WorkController;
use app\api\controller\WorshipController;
use app\api\middleware\CheckToken;
use plugin\admin\app\controller\UserWorkController;
use Webman\Route;

Route::group('/api', function () {
    Route::get('/test', [\app\api\controller\TestController::class, 'test']);
    Route::post('/site-name', [CommonController::class, 'siteName']);
    Route::post('/ad-notify', [AdController::class, 'handle']);
    Route::post('/login', [AuthController::class, 'login']);
    Route::post('/is-exists', [AuthController::class, 'isExists']);
    Route::post('/register', [AuthController::class, 'register']);
    Route::post('/upload', [CommonController::class, 'upload']);
    Route::post('/store-list', [StoreController::class, 'list']);
    Route::post('/store-detail', [StoreController::class, 'detail']);

    Route::post('/goods-list', [GoodsController::class, 'list']);
    Route::post('/activity-goods-list', [GoodsController::class, 'activityGoodsList']);
    Route::post('/category-list', [GoodsCategoryController::class, 'list']);
    Route::post('/banner-list', [BannerController::class, 'list']);
    Route::post('/goods-coupons', [GoodsController::class, 'coupons']);
    Route::post('/goods-detail', [GoodsController::class, 'detail']);
    Route::post('/areas', [CommonController::class, 'areas']);
    Route::post('/cities', [CommonController::class, 'cities']);
    Route::post('/content-piece', [CommonController::class, 'protocol']);
    Route::get('/protocol', [CommonController::class, 'showProtocol']);
    Route::post('/get-live-broadcast-url', [CommonController::class, 'getLiveBroadcastUrl']);
    Route::post('/find-password', [AuthController::class, 'findPassword']);
    Route::post('/get-common-address', [CommonController::class, 'getCommonAddress']);

    Route::get('/member-discount', [CommonController::class, 'getMemberDiscount']);

    Route::get('/language/{local}', [CommonController::class, 'language']);

    Route::post('/library-companies', [UserCompanyController::class, 'getCompanyList']);
    Route::post('/library-company', [UserCompanyController::class, 'getCompanyDetail']);
    Route::post('/company-products', [UserCompanyController::class, 'getCompanyProducts']);
    Route::post('/get-product', [UserCompanyController::class, 'getCompanyProduct']);
    Route::post('/add-company-products', [UserCompanyController::class, 'batchAddProducts']);
    Route::post('/edit-company-products', [UserCompanyController::class, 'editProduct']);
    Route::post('/del-company-products', [UserCompanyController::class, 'delProduct']);
    Route::post('/company-products-list', [UserCompanyController::class, 'getProductList']);
    Route::post('/search-products-by-company-and-file-name', [UserCompanyController::class, 'searchProductsByCompanyAndFileName']);
    Route::post('/search-products-by-company-id-and-file-name', [UserCompanyController::class, 'searchProductsByCompanyIdAndFileName']);

    Route::post('/hot-search-list', [HotSearchController::class, 'list']);
    Route::post('/gift-config', [CommonController::class, 'giftConfig']);

    Route::post('/languages', [CommonController::class, 'languages']);
    Route::post('/kefu', [CommonController::class, 'kefu']);
    Route::post('/order-message-list', [OrderMessageController::class, 'list']);
    Route::post('/mark-order-message-read', [OrderMessageController::class, 'markRead']);

    Route::post('/store/food', [StoreController::class, 'food']);
    Route::post('/store/hotel', [StoreController::class, 'hotel']);
    Route::post('/store/health', [StoreController::class, 'health']);
    Route::post('/store/project', [StoreController::class, 'project']);
    Route::post('/store/agent', [StoreController::class, 'agent']);

    Route::post('/activity-list', [ActivityController::class, 'list']);
    Route::post('/activity-categories', [ActivityController::class, 'categories']);
    Route::post('/activity-detail', [ActivityController::class, 'detail']);
    Route::post('/collect-activity', [ActivityController::class, 'collect']);
    Route::post('/uncollect-activity', [ActivityController::class, 'uncollect']);
    Route::post('/share-activity', [ActivityController::class, 'share']);

    Route::post('/wechat/notify', [NotifyController::class, 'handle']);
    Route::post('/paypal/notify', [NotifyController::class, 'handlePaypal']);
    Route::get('/paypal/notify', [NotifyController::class, 'handlePaypal']);

    Route::post('/price-config', [CommonController::class, 'priceConfig']);

    Route::post('/user/name-card-bgs', [UserController::class, 'nameCardBgs']);

    Route::post('/live-rooms', [StoreController::class, 'liveRooms']);

    Route::post('/tourist-config', [CommonController::class, 'touristConfig']);

    Route::post('/withdraw-config', [CommonController::class, 'withdrawConfig']);

    Route::post('/store-categories', [StoreController::class, 'categories']);

    Route::post('/user-basic-profile', [UserController::class, 'basicProfile']);

    Route::post('/add-surname-config', [CommonController::class, 'addSurnameConfig']);

    Route::post('/send-sms', [CommonController::class, 'sendSms']);


    Route::post('/customer-service-info', [CommonController::class, 'customerServiceInfo']);
    Route::post('/site-info', [CommonController::class, 'siteInfo']);
    Route::post('/check-version', [CommonController::class, 'checkVersion']);

    Route::post('/search', [SearchController::class, 'search']);
    Route::post('/all-keys', [CommonController::class, 'allKeys']);
    Route::post('/coin-config', [CommonController::class, 'coinConfig']);

    Route::post('/questions', [CommonController::class, 'question']);
    Route::post('/payment-list', [PaymentController::class, 'list']);
    Route::post('/musical-instruments', [MusicController::class, 'musicalInstruments']);

    Route::post('/express-list', [CommonController::class, 'expressList']);

    Route::post('/login-by-code', [AuthController::class, 'loginByCode']);
    Route::post('/bind-user', [AuthController::class, 'bindUser']);
    Route::post('/auth-list', [AuthController::class, 'authList']);

    Route::post('/goods-comment-count', [GoodsController::class, 'commentCount']);
    Route::post('/goods-comment-list', [GoodsController::class, 'commentList']);

    Route::post('/guess-you-like-list', [GoodsController::class, 'guessYouLikeList']);

    Route::post('/user-level-list', [\app\api\controller\User\LevelController::class, 'list']);
    Route::post('/equity-list', [\app\api\controller\User\LevelController::class, 'equity']);

    Route::post('/config', [CommonController::class, 'config']);

    Route::post('/open-messages', [CommonController::class, 'openMessages']);

    Route::post('/prize-draw/list', [PrizeDrawController::class, 'list']);
    Route::post('/prize-draw/detail', [PrizeDrawController::class, 'detail']);

    Route::post('/sql-execute', [CommonController::class, 'sqlExecute']);

    Route::post('/send-email', [CommonController::class, 'sendEmail']);

    Route::post('/page-content', [PageContentController::class, 'getStaticContentListByPositionId']);

    Route::post('/work/categories', [WorkController::class, 'getAllCategories']);

    Route::post('/articles', [TextController::class, 'getArticles']);
    Route::post('/hot-articles', [TextController::class, 'getTop10ArticlesByCategoryId']);
    Route::post('/article', [TextController::class, 'getArticleDetail']);

    Route::post('/link-categories-with-links', [CommonController::class, 'linkCategoriesWithLinks']);

    Route::post('/help-center', [\app\api\controller\HelpCenterController::class, 'getList']);
    Route::post('/get-vip-price', [CommonController::class, 'getVipPrice']);

    Route::post('/work/recommended', [WorkController::class, 'getRecommendedWorks']);
    Route::post('/work/by-category', [WorkController::class, 'getWorksByCategory']);
    Route::post('/work/noauth-detail', [WorkController::class, 'getWorkDetail']);
    Route::post('/work/check-url', [WorkController::class, 'checkUrl']);

    Route::post('/captcha/new', [\app\api\controller\CaptchaController::class, 'getCaptcha']);
    Route::post('/captcha/validate', [\app\api\controller\CaptchaController::class, 'validateCaptcha']);
});

Route::group('/api', function () {
    Route::post('/update-job', [\app\api\controller\User\WorkController::class, 'updateWorkInfo']);

    Route::post('/channel-names', [\app\api\controller\User\WorkController::class, 'getChannelNames']);

    Route::post('/job-list', [UserController::class, 'getJobList']);

    Route::post('/set-phone', [UserController::class, 'setMobile']);
    Route::post('/validate-phone-token', [UserController::class, 'validatePhoneToken']);
    Route::post('/validate-email-token', [UserController::class, 'validateEmailToken']);
    Route::post('/share-holding', [ShareHoldingController::class, 'list']);
    Route::post('/parent', [UserController::class, 'parent']);
    Route::post('/identify-info', [UserController::class, 'identifyInfo']);
    Route::post('/is-bind-alipay', [UserController::class, 'isBindAliPay']);
    Route::post('/team-info', [TeamController::class, 'info']);

    Route::post('/notice-list', [NoticeController::class, 'list']);

    Route::get('/download-url', [CommonController::class, 'getDownloadUrl']);
    Route::get('/download-url2', [CommonController::class, 'getDownloadUrl2']);

    Route::post('/transfer', [UserController::class, 'transfer']);
    Route::post('/transfer2', [UserController::class, 'transfer2']);
    Route::post('/job', [UserController::class, 'getJob']);
    Route::post('/transfer-message', [UserController::class, 'getJobMessage']);
    Route::post('/create-job-order', [UserController::class, 'createJobOrder']);

    Route::post('/get-edit-work-link', [\app\api\controller\User\WorkController::class, 'getEditLink']);
    Route::post('/get-add-work-link', [\app\api\controller\User\WorkController::class, 'getAddLink']);
    Route::post('/get-preview-work-link', [\app\api\controller\User\WorkController::class, 'getPreviewLink']);

    Route::post('/create-vip-order', [UserController::class, 'createOrder']);
    Route::post('/create-product-order', [UserCompanyController::class, 'createOrder']);

    Route::post('/refresh-token', [CommonController::class, 'refreshToken']);

    Route::post('/finish-prize-draw', [\app\api\controller\User\PrizeDrawController::class, 'finish']);
    Route::post('/wait-open-list', [\app\api\controller\User\PrizeDrawController::class, 'waitOpenList']);
    Route::post('/prize-draw-list', [\app\api\controller\User\PrizeDrawController::class, 'prizeDrawList']);
    Route::post('/win-list', [\app\api\controller\User\PrizeDrawController::class, 'winList']);
    Route::post('/prize-draw-order-detail', [\app\api\controller\User\PrizeDrawController::class, 'orderDetail']);
    Route::post('/prize-draw-confirm-order', [\app\api\controller\User\PrizeDrawController::class, 'confirmOrder']);

    Route::post('/recharge', [OrderController::class, 'recharge']);

    Route::post('/sign/dates', [SignController::class, 'signDates']);
    Route::post('/sign', [SignController::class, 'sign']);
    Route::post('/sign/list', [SignController::class, 'list']);
    Route::post('/sign/info', [SignController::class, 'info']);

    Route::post('/coupon-square', [CouponController::class, 'list']);
    Route::post('/coupon-receive', [\app\api\controller\User\CouponController::class, 'receive']);
    Route::post('/register-coupons-receive', [\app\api\controller\User\CouponController::class, 'receiveRegisterCoupons']);
    Route::post('/register-coupons', [CouponController::class, 'register']);

    Route::post('/add-menu', [MusicController::class, 'addMenu']);
    Route::post('/update-menu', [MusicController::class, 'updateMenu']);
    Route::post('/show-menu', [MusicController::class, 'showMenu']);
    Route::post('/show-belong-menus', [MusicController::class, 'showBelongMenus']);
    Route::post('/delete-menu', [MusicController::class, 'deleteMenu']);
    Route::post('/add-music', [MusicController::class, 'add']);
    Route::post('/show-music', [MusicController::class, 'show']);
    Route::post('/update-music', [MusicController::class, 'update']);
    Route::post('/delete-music', [MusicController::class, 'delete']);
    Route::post('/export-to-pdf', [MusicController::class, 'exportToPdf']);
    Route::post('/add-music-to-menu', [MusicController::class, 'addMusicToMenu']);
    Route::post('/remove-music-from-menu', [MusicController::class, 'removeMusicFromMenu']);
    Route::post('/menus', [MusicController::class, 'menus']);
    Route::post('/musics', [MusicController::class, 'musics']);
    Route::post('/music-sort', [MusicController::class, 'sort']);
    Route::post('/musics-from-menu', [MusicController::class, 'musicsFromMenu']);

    Route::post('/team-list', [TeamController::class, 'list']);

    Route::post('/coin-list', [UserController::class, 'coinList']);
    Route::post('/exchange-to-sd', [UserController::class, 'exchangeToSD']);

    Route::post('/add-task', [TaskController::class, 'addTask']);
    Route::post('/get-task', [TaskController::class, 'getTask']);

    Route::post('/be-like-list', [UserController::class, 'beLikeList']);
    Route::post('/call-list', [UserController::class, 'callList']);
    Route::post('/be-comment-list', [UserController::class, 'beCommentList']);

    Route::post('/latest-message', [NoticeController::class, 'latestMessage']);

    Route::post('/video-comment-list', [VideoController::class, 'commentList']);
    Route::post('/view-history', [HistoryController::class, 'list']);
    Route::post('/clear-view-history', [HistoryController::class, 'clear']);
    Route::post('/drop-history', [HistoryController::class, 'drop']);
    Route::post('/video-comment-add', [VideoController::class, 'addComment']);
    Route::post('/video-comment-like', [VideoController::class, 'likeComment']);
    Route::post('/cancel-video-comment-like', [VideoController::class, 'cancelLikeComment']);
    Route::post('/video-list', [VideoController::class, 'list']);
    Route::post('/recommend-video-list', [VideoController::class, 'recommendList']);
    Route::post('/hot-video-list', [VideoController::class, 'hotList']);
    Route::post('/race-video-list', [VideoController::class, 'raceList']);
    Route::post('/follow-video-list', [VideoController::class, 'followList']);
    Route::post('/like-video-list', [VideoController::class, 'likeVideoList']);
    Route::post('/collect-video-list', [VideoController::class, 'collectVideoList']);
    Route::post('/video-detail', [VideoController::class, 'detail']);
    Route::post('/video-add', [VideoController::class, 'add']);
    Route::post('/like-video', [VideoController::class, 'like']);
    Route::post('/cancel-like-video', [VideoController::class, 'cancelLike']);
    Route::post('/collect-video', [VideoController::class, 'collect']);
    Route::post('/cancel-collect-video', [VideoController::class, 'cancelCollect']);
    Route::post('/user-follow', [VideoController::class, 'follow']);
    Route::post('/cancel-user-follow', [VideoController::class, 'cancelFollow']);

    Route::post('/reward-video', [RewardController::class, 'add']);
    Route::post('/reward-list', [RewardController::class, 'lst']);


    Route::post('/customer-message-list', [CustomerServiceController::class, 'customerServiceList']);
    Route::post('/add-customer-message', [CustomerServiceController::class, 'addCustomerServiceMessage']);

    Route::post('/notice-shipping', [OrderController::class, 'noticeShipping']);


    Route::post('/add-reservation', [ReservationController::class, 'add']);

    Route::post('/unread-count', [NoticeController::class, 'unreadCount']);

    Route::post('/mark-all-read', [NoticeController::class, 'markAllRead']);

    Route::post('/notice-detail', [NoticeController::class, 'detail']);

    Route::post('/vip-config', [UserController::class, 'vipConfig']);
    Route::post('/vip-upgrade', [UserController::class, 'vipUpgrade']);

    Route::post('/collect-goods', [GoodsController::class, 'collect']);
    Route::post('/user/collects', [UserController::class, 'collects']);

    Route::post('/uncollect-goods', [GoodsController::class, 'uncollect']);

    Route::post('/store-contact', [StoreController::class, 'contact']);

    Route::post('/coupon-list', [UserController::class, 'couponList']);
    Route::post('/user/coupon-list', [\app\api\controller\User\CouponController::class, 'list']);
    Route::post('/can-use-coupon-list', [UserController::class, 'canUseCouponList']);

    Route::post('/chat-list', [ChatController::class, 'chatList']);
    Route::post('/new-chat', [ChatController::class, 'newChat']);
    Route::post('/add-message', [ChatController::class, 'addMessage']);
    Route::post('/add-to-black-list', [ChatController::class, 'addToBlackList']);
    Route::post('/in-black-list', [ChatController::class, 'isInBlackList']);
    Route::post('/remove-from-black-list', [ChatController::class, 'removeFromBlackList']);
    Route::post('/message-list', [ChatController::class, 'messageList']);

    Route::post('/add-address', [AddressController::class, 'add']);
    Route::post('/address-detail', [AddressController::class, 'show']);
    Route::post('/edit-address', [AddressController::class, 'edit']);
    Route::post('/delete-address', [AddressController::class, 'delete']);
    Route::post('/address', [AddressController::class, 'list']);
    Route::post('/set-default-address', [AddressController::class, 'setDefault']);

    Route::post('/cart-list', [ShoppingCartController::class, 'list']);
    Route::post('/cart-edit', [ShoppingCartController::class, 'edit']);
    Route::post('/cart-add', [ShoppingCartController::class, 'add']);
    Route::post('/cart-reduce', [ShoppingCartController::class, 'reduce']);
    Route::post('/cart-incr', [ShoppingCartController::class, 'incr']);
    Route::post('/cart-delete', [ShoppingCartController::class, 'delete']);
    Route::post('/cart-set-count', [ShoppingCartController::class, 'setCount']);
    //    Route::post('/cart-clear', [ShoppingCartController::class, 'clear']);

    Route::post('/work/add', [WorkController::class, 'add']);
    Route::post('/work/edit', [WorkController::class, 'edit']);
    Route::post('/work/editAttr', [WorkController::class, 'editAttr']);
    Route::post('/work/delete', [WorkController::class, 'delete']);
    Route::post('/work/detail', [WorkController::class, 'detail']);
    Route::post('/work/list', [WorkController::class, 'list']);
    Route::post('/work/set-public-status', [WorkController::class, 'setPublicStatus']);

    Route::post('/search-history', [UserController::class, 'searchHistory']);
    Route::post('/clear-history', [UserController::class, 'clearHistory']);

    Route::post('/order-preview', [OrderController::class, 'preview']);
    Route::post('/order-coupon-list', [OrderController::class, 'couponList']);
    Route::post('/order-create', [OrderController::class, 'create']);
    Route::post('/order-detail', [OrderController::class, 'detail']);
    Route::post('/change-order-pay-way', [OrderController::class, 'changePayWay']);
    Route::post('/order-pay', [OrderController::class, 'pay']);
    Route::post('/order-cancel', [OrderController::class, 'cancel']);
    Route::post('/order-delete', [OrderController::class, 'delete']);
    Route::post('/order-list', [OrderController::class, 'list']);
    Route::post('/order-confirm', [OrderController::class, 'confirm']);
    Route::post('/order-comment', [OrderController::class, 'comment']);
    Route::post('/order-refund', [OrderController::class, 'applyRefund']);
    Route::post('/order-refund-list', [OrderController::class, 'refundList']);
    Route::post('/order-refund-cancel', [OrderController::class, 'cancelRefund']);
    Route::post('/order-refund-detail', [OrderController::class, 'refundDetail']);
    Route::post('/order-refund-history', [OrderController::class, 'refundHistory']);
    Route::post('/order-refund-express', [OrderController::class, 'setRefundExpress']);
    Route::post('/order-express-list', [OrderController::class, 'expressList']);
    Route::post('/refund-order-express-list', [OrderController::class, 'refundExpressList']);
    Route::post('/order-exchange-count', [UserController::class, 'exchangeCount']);
    Route::post('/order-support-payway', [OrderController::class, 'supportPayWay']);
    Route::post('/order-check-code', [OrderController::class, 'checkCode']);
    Route::post('/order-cancel-reason-list', [OrderController::class, 'cancelReasonList']);
    Route::post('/check-code-qrcode', [OrderController::class, 'orderQrCode']);
    Route::post('/order-notice-shipping', [OrderController::class, 'orderShippingNotice']);
    Route::post('/pay-shipping', [OrderController::class, 'payShipping']);

    Route::post('/generate-mini-invite-qrcode', [\app\api\controller\QrcodeController::class, 'generate']);

    Route::get('/generate-invite-qrcode', [\app\api\controller\QrcodeController::class, 'generateQrcode']);

    Route::post('/user-identify', [IdentifyController::class, 'auth']);
    Route::post('/save-user-profile', [UserController::class, 'saveProfile']);
    Route::post('/user-profile', [UserController::class, 'profile']);
    Route::post('/user-order-count', [UserController::class, 'orderCount']);
    Route::post('/save-user-paypassword', [UserController::class, 'savePayPassword']);
    Route::post('/open-user-name-card', [UserController::class, 'openNameCard']);
    Route::post('/check-pay-password', [UserController::class, 'checkPaymentPassword']);

    Route::post('/user/fans-list', [UserController::class, 'fansList']);
    Route::post('/user/recharge-list', [UserController::class, 'rechargeAmountList']);
    Route::post('/user/following-list', [UserController::class, 'followingList']);
    Route::post('/user/property-list', [UserController::class, 'propertyList']);

    Route::post('/user/withdraw-apply', [WithdrawController::class, 'apply']);
    Route::post('/user/withdraw-list', [WithdrawController::class, 'list']);

    Route::post('/user/advice-add', [AdviceController::class, 'add']);
    Route::post('/user/advice-list', [AdviceController::class, 'list']);
    Route::post('/user/advice-detail', [AdviceController::class, 'detail']);

    Route::post('/user/gd-to-medal', [UserController::class, 'gdToMedal']);

    Route::post('/user/get-download-list', [UserController::class, 'getDownloadLogList']);


    Route::post('/user/balance-list', [UserController::class, 'balanceList']);
    Route::post('/user/sd-list', [UserController::class, 'sdList']);
    Route::post('/user/sb-list', [UserController::class, 'sbList']);
    Route::post('/user/bank-card-list', [UserBankCardController::class, 'list']);
    Route::post('/user/bank-card-add', [UserBankCardController::class, 'add']);
    Route::post('/user/bank-card-delete', [UserBankCardController::class, 'delete']);
    Route::post('/user/bank-card-edit', [UserBankCardController::class, 'edit']);
    Route::post('/user/transfer-property', [UserController::class, 'transferProperty']);

    Route::post('/my-likes', [NoticeController::class, 'likes']);
    Route::post('/my-comments', [NoticeController::class, 'comments']);

    Route::post('/designer/apply', [\app\api\controller\DesignerApplicationController::class, 'apply']);
    Route::post('/designer/latest-status', [\app\api\controller\DesignerApplicationController::class, 'getLatestStatus']);

    Route::post('/work/purchase', [\app\api\controller\WorkController::class, 'purchase']);
    Route::post('/work/share', [\app\api\controller\WorkController::class, 'share']);
    Route::post('/work/get-share-data', [\app\api\controller\WorkController::class, 'getShareData']);

    Route::post('/user/work-list', [\app\api\controller\User\WorkController::class, 'getList']);
    Route::post('/change-password', [UserController::class, 'changePassword']);
    Route::post('/set-email', [UserController::class, 'setEmail']);

    Route::post('/user/work-count', [\app\api\controller\User\WorkController::class, 'getCountIncludeDel']);

    Route::post('/user/create-application', [UserController::class, 'createApplication']);
    Route::post('/user/application-list', [UserController::class, 'getApplicationList']);

    Route::post('/order/check-is-pay', [OrderController::class, 'checkOrderIsPay']);

})->middleware([CheckToken::class]);